SphtBotv3 Documentation
-----------------------

Installation:
Only SphtBotv3.exe and SphtBotCore.dll are required to run the bot, but I recommend that you extract all files included in the official SphtBotv3 ZIP archive since they can be very useful.
On first run, you will be prompted to enter in Battle.net configuration information.  If you do not want to connect to Battle.net, enter "none" for server.

Commands which can be entered using the user-input box:
/botnetinfo <botnet user> *** Displays information about a BotNet user
/bnd <msg> *** Sends a message to everyone on the BotNet who is in your database
/bnc <msg> *** Sends a message to everyone on the BotNet (must be ADMIN)
/med <msg> *** Emotes a message to the BotNet database
/meb <msg> *** Emotes a message to the entire BotNet (must be ADMIN)
/bnw <botnet user> <msg> *** Sends a message to a bot (must be on a database for user to receive message)
/mew <botnet user> <msg> *** Emotes a message to a bot (must be on a database for user to receive message)
/botnet <source> <cmd> *** Sends a command to all bots on current database
/broadcast <source> <cmd> *** Sends a command to all bots (must be ADMIN to send outside of database)
/botnetmessage <source> <botnet user> <cmd> *** Sends a command to a bot (must be ADMIN to send outside of database)
/setuser <usermask> [operation]<flags> *** Modifies a database entry, removes a database entry, or creates a database entry
/deluser <usermask> *** Deletes a database entry
/find <usermask> *** Finds and lists all flags which apply to a username/mask, and the entries which contribute them
/findex <user> *** Finds and lists flags which specifically apply to the specified username alone
/findname <usermask> *** Finds and lists all names which match the specified usermask
/findin <user> *** Finds and lists all usermasks that match the specified username while excluding the specific username
/findattr <flags> *** Lists all entries with the specified attributes
/countattr <flags> *** Returns number of entries with the specified attributes
/expattr <usermask> <flags> *** Finds and lists masks which apply to username to show specifically why username has specified flags
/setchatlock <bnd|bnc|battlenet> *** Sets where text is sent to by default
/setbnwlock <none|botnet user> *** Sets BotNet whisper lock
/bnr <msg> *** Whispers the user that last whispered you over BotNet
/bnrw <msg> *** Whispers the user that you last messaged over BotNet
/chatdropoptions *** Displays the current BotNet chat drop options
/setchatdropoptions <0|1|2> <0|1|2> <0|1|2> <0|1> *** Sets BotNet chat drop options.  See BotNet protocol specification for more information
/botnetusers *** Displays the number of users connected to BotNet
/databaseusers *** Displays the number of users in the database
/reconnect *** Reconnects to Battle.net
/forceconnect *** Forces a connect to Battle.net (bypasses any holds the bot has put on connecting)
/bnreconnect *** Reconnects to BotNet
/bnforceconnect *** Forces a connect to BotNet (bypasses any holds the bot has put on connecting)
/clearqueue *** Clears the chat queue
/clearscreen *** Clears the chat window
/battlenet <msg> *** Sends a message to Battle.net
/fjoin *** Forces a channel join, ignoring any full / empty / restricted warnings
/rejoin *** Rejoins the current channel
/setwlock <user> *** Sets Battle.net whisperlock
/r <msg> *** Whispers the user that last whispered you
/rw <msg> *** Whispers the user that you last messaged
/profile <user> *** Displays a user's profile
/sysrecorddata <user> *** Queries system data on an account
/recorddata <user> *** Queries record data on an account
/ladderrecorddata <user> <product> *** Queries ladder record data on an account
/rawquery <user> <path> *** Queries a database entry on an account
/setvalue <user> <path>:<value> *** Sets a database entry on an account (must be ADMIN to write other accounts, or to write to non profile\ of your own account)
/ladderdata <type> <league> <sort> <starting rank> <count> *** Works for STAR/SEXP/W2BN/JSTR, can be used from ANY product.  An invalid sort method will result in you being disconnected, but NOT ipbanned.
/laddersearch <username> <type> <league> <sort> *** Works for STAR/SEXP/W2BN/JSTR, can be used from ANY product.  An invalid sort method will result in you being disconnected, but NOT ipbanned.
/downloadfile <ip>:<port> <filename> *** Downloads a file from Battle.net
/canceldownload *** Cancels a file download
/forcecanceldownload *** Forcefully cancels a file download
/downloadprogress *** Displays the progress of a file download
/uptime *** Displays various uptime statistics
/status *** Displays various system statistics
/version *** Displays the bot version
/connectionstatus <battlenet|bnls|botnet|all> *** Displays various connection statistics
/listplugins *** Displays the loaded plugins
/loadplugin <filename> *** Loads a plugin
/unloadplugin <filename> *** Unloads a plugin
/reload *** Reloads configuration settings
/loadstylescript <filename> *** Loads a style script
/reloadstylescript *** Reloads the default style script file
/fbnr *** Queries information on the user that last whispered you over BotNet
/fbnrw *** Queries information on the user that you last messaged over BotNet
/fr *** Queries information on the user that last whispered you
/frw *** Queries information on the user that you last messaged
/refreshicons *** Reloads the icon files
/claninfo <user> *** Displays various information about a user's clan statistics
/ping <user> *** Displays a user's ping

